package com.niiwoo.civet.user.service.local.sms.impl;

import com.niiwoo.civet.user.dto.request.RefreshSMSCodeRequestDTO;
import com.niiwoo.civet.user.enums.UserSMSTypeEnum;
import com.niiwoo.civet.user.service.local.sms.LimitedSMSSender;
import org.springframework.stereotype.Component;

@Component
public class UnlockSMSSender extends LimitedSMSSender {

    @Override
    protected void innerBeforeSend(RefreshSMSCodeRequestDTO requestDTO) {
        // do nothing
    }

    @Override
    protected String innerContentTemplate() {
        return UNLOCK_ACCOUNT_TEMPLATE;
    }


    @Override
    protected UserSMSTypeEnum getType() {
        return UserSMSTypeEnum.UNLOCK_ACCOUNT;
    }
}
